from itertools import compress
address=[
    '5412 N CLARK1',
    '5148 N CLARK2',
    '5800 E CLARK3',
    '2122 N CLARK4',
    '5645 M CLARK5',
    '1060 W CLARK6',
]
counts=[0,3,10,4,1,7]
#构建一个列表，它相应的count值要大于5
more5=[n>5 for n in counts]
print(more5)

print(list(compress(address,more5)))